package com.qf.day02;

/**
 * 演示 switch分支结构
 */
public class SwitchDemo {

    public static void main(String[] args) {

        int a = 10;

        switch (a){
            case 1:
                System.out.println("查询手机号");
                break;
            case 3:
                System.out.println("查询花费");
                break;
            case 5:
                System.out.println("充值");
                break;
            case 0:
                System.out.println("转人工");
                break;
            default:
                System.out.println("输入错误");
        }


    }

}
